Skip to content

Conversation

alexcrichton
Copy link
Member

Closes #11214

#[cfg(unix)]
fn retry(f: || -> libc::c_int) -> IoResult<libc::c_int> {
fn retry(f: || -> libc::c_int) -> libc::c_int {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe #[inline] this function, just to be sure?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

bors added a commit that referenced this pull request Jan 5, 2014
@bors bors closed this Jan 5, 2014
@alexcrichton alexcrichton deleted the eintr branch January 6, 2014 07:53
flip1995 pushed a commit to flip1995/rust that referenced this pull request Aug 11, 2023
[`redundant_guards`]: don't lint on float literals

Fixes rust-lang#11304

changelog: [`redundant_guards`]: don't lint on float literals

r? `@Centri3` i figured you are probably a good reviewer for this since you implemented the lint ^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

many system calls don't handle EINTR
3 participants